import url from '../url-config.js'
import req from '../request'
const getBaseInfo = ({ id }) => req.get(url.companyArchives.baseInfo, { id })
const getTabInfo = ({ id, index }) => req.get(url.companyArchives.tabInfo, { id, index })
const queryWarnLevel = ({ id, date }) => req.get(url.companyArchives.queryWarnLevel, { id, date })
export const companyArchivesApi = {
    getBaseInfo,
    getTabInfo,
    queryWarnLevel,
}
